package com.xin.springcloudconsumer.form;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserForm {
    private String userId;
    //首次登录并创建昵称随机
    private String nickName;
    @NotNull(message = "头像不能为空!")
    private String headImage;
    @NotNull(message = "openId不能为空!")
    private String openId;
}
